package com.ruoyi.mobile.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sh_course")
@ApiModel(value="ShCourseEntity对象", description="课程信息表")
public class ShCourseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "课程标题")
    private String courseTitle;

    @ApiModelProperty(value = "课程分类 1培训 2餐饮 3医疗")
    private Integer courseType;

    @ApiModelProperty(value = "课程内容")
    private String courseContent;

    @ApiModelProperty(value = "课程标签关联id(逗号分隔多个标签)")
    private String courseLabel;

    @ApiModelProperty(value = "浏览量(学习人数)")
    private Long browseNum;

    @ApiModelProperty(value = "视频封面(默认视频第一帧作为封面，封面可自定义修改)")
    private String videoCover;

    @ApiModelProperty(value = "视频链接地址")
    private String videoUrl;

    @ApiModelProperty(value = "显示类型(1横屏,2竖屏)")
    private Integer showType;

    @ApiModelProperty(value = "所属店铺ID")
    private Long shopId;

    @ApiModelProperty(value = "教师ID")
    private Long teacherId;

    @ApiModelProperty(value = "显示顺序")
    private Integer orderNum;
}
